<template>
  <el-container style="height: 100%">
    <!-- 侧边栏 -->
    <el-aside width="auto">
      <common-aside></common-aside>
    </el-aside>

    <el-container>
      <el-header>
        <common-header />
      </el-header>
      <!-- <common-tag /> -->
      <common-tag />
      <el-main>
        <router-view></router-view>
      </el-main>
    </el-container>
  </el-container>
</template>
<script>
import CommonAside from '../components/menu'
import CommonHeader from '../components/header'
import CommonTag from '../components/tabs/index.vue'
export default {
  name: 'Main',
  components: {
    CommonAside,
    CommonHeader,
    CommonTag,
  },
  data() {
    return {}
  },
}
</script>
<style lang="less">
.el-header {
  height: 50px !important;
  background-color: #f39c12;
}
.el-main {
  padding-top: 0;
}
.el-card__body,
.el-main {
  margin: 5px 20px 10px 20px;
}
.el-card__body,
.el-main {
  padding: 0;
}
</style>
